Part Number Hot Search : 
2SC2732 0DC24 AHCT1 T1143 68HC90 B260001 HN27512 BSP15
Product Description
Full Text Search
 

To Download DS3902 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 Rev 0; 5/04
Dual, NV, Variable Resistors with User EEPROM
General Description
The DS3902 features a dual, nonvolatile (NV), low temperature-coefficient, variable digital resistor with 256 user-selectable positions. The DS3902 can operate over a wide supply range of 2.4V to 5.5V, and communication with the device is achieved through an I2CTMcompatible serial interface. Internal address settings allow the DS3902 slave address to be programmed to one of 128 possible addresses. The low cost and the small size of the DS3902 make it an ideal replacement for conventional mechanical-trimming resistors.
Features
Dual 256-Position Linear Digital Resistors Available as 50k/30k or 50k/15k Resistor Settings Stored in NV Memory Low Temperature Coefficient I2C-Compatible Serial Interface Wide Operating Voltage (2.4V to 5.5V) Software Write Protection User-EEPROM Memory Programmable Slave Address Operating Temperature Range: -40C to +95C Small 8-Pin SOP Package
DS3902
Applications
Optical Transceivers Optical Transponders Instrumentation and Industrial Controls RF Power Amps Audio Power-Amp Biasing Replacement for Mechanical Variable Resistors and DIP Switches
Ordering Information
PART DS3902U-530 DS3902U-515 RESISTOR VALUES (R0, R1) 30k, 50k 15k, 50k TOP BRAND 3902A 3902B PINPACKAGE 8 SOP 8 SOP
*Add /T&R for Tape & Reel orders.
Typical Operating Circuit
VCC IN+ INTX_DISABLE TX_FAULT VCC
0.1F 4.7k 2-WIRE MASTER 4.7k
VCC
OUT-
SCL SDA
DS3902
H0 H1
BIAS SET MOD SET
BIASMAX2 APCSET2 MODSET2 PC_MON BS_MON
LASER DRIVER IC
OUT+ BIAS+ BIASMD VCC
ADD_SEL1 GND
NOTES: 1. WITH ADD_SEL TIED TO GND, THE SLAVE ADDRESS WILL BE A2H. 2. FOR A DETAILED APPLICATION DIAGRAM OF A SPECIFIC LD, CONSULT THE LASER DRIVER DATA SHEET.
Pin Configuration appears at end of data sheet. I2C is a trademark of Philips Corp. Purchase of I 2C components of Maxim Integrated Products, Inc., or one of its Associated Companies, conveys a license under the Philips I2C Patent Rights to use these components in an I2C system, provided that the system conforms to the I2C Standard Specification as defined by Philips. ______________________________________________ Maxim Integrated Products 1
For pricing, delivery, and ordering information, please contact Maxim/Dallas Direct! at 1-888-629-4642, or visit Maxim's website at www.maxim-ic.com.
Dual, NV, Variable Resistors with User EEPROM DS3902
ABSOLUTE MAXIMUM RATINGS
Voltage Range on VCC, SDA, SCL, H0, and H1 Relative to Ground................................-0.5V to +6.0V Voltage Range on ADD_SEL Relative to Ground ...............-0.5V to (VCC + 0.5V), not to exceed 6.0V Resistor Current ....................................................................3mA Operating Temperature Range ...........................-40C to +95C Programming Temperature Range .........................0C to +70C Storage Temperature Range .............................-55C to +125C Soldering Temperature ...............................................See IPC/JEDEC J-STD-020A Specification
Stresses beyond those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
RECOMMENDED DC OPERATING CONDITIONS
(TA = -40C to +95C)
PARAMETER Supply Voltage Input Logic 1 (SDA, SCL, ADD_SEL) Input Logic 0 (SDA, SCL, ADD_SEL) Resistor Inputs Resistor Current SYMBOL VCC VIH VIL H0, H1 IRES (Note 1) CONDITIONS MIN +2.4 0.7 x VCC -0.3 -0.3 TYP MAX +5.5 VCC + 0.3 +0.3 x VCC +5.5 3 UNITS V V V V mA
DC ELECTRICAL CHARACTERISTICS
(VCC = +2.4V to +5.5V, TA = -40C to +95C, unless otherwise noted.)
PARAMETER Standby Current Input Leakage Low-Level Output Voltage (SDA) SYMBOL ISTBY IL VOL1 VOL2 3mA sink current 6mA sink current (Note 2) -1 0 0 CONDITIONS MIN TYP MAX 200 +1 0.4 0.6 UNITS A A V
ANALOG RESISTOR CHARACTERISTICS
(VCC = +2.4V to +5.5V, TA = -40C to +95C, unless otherwise noted.)
PARAMETER Resistance Tolerance Position 0 Resistance Absolute Linearity Relative Linearity Temperature Coefficient High-Impedance Resistor Current IRHIZ (Note 3) (Note 4) At position FFh. (Notes 5, 6) H0, H1 = VCC -1 -0.75 -300 -1 SYMBOL TA = +25C CONDITIONS MIN -20 160 TYP MAX +20 250 +1 +0.75 +300 +1 UNITS % LSB LSB ppm/C A
2
_____________________________________________________________________
Dual, NV, Variable Resistors with User EEPROM
AC ELECTRICAL CHARACTERISTICS (Figure 1)
(VCC = +2.4V to +5.5V, TA = -40C to +95C, unless otherwise noted. Timing referenced to VIL(MAX) and VIH(MIN).)
PARAMETER SCL Clock Frequency Bus Free Time Between STOP and START Conditions Hold Time (Repeated) START Condition Low Period of SCL High Period of SCL Data Hold Time Data Setup Time Start Setup Time SDA and SCL Rise Time SDA and SCL Fall Time Stop Setup Time SDA and SCL Capacitive Loading EEPROM Write Time Input Capacitance Startup Time SYMBOL fSCL tBUF tHD:STA tLOW tHIGH tHD:DAT tSU:DAT tSU:STA tR tF tSU:STO CB tWR CI tST (Note 6) (Note 8) (Note 9) 5 2 (Note 8) (Note 8) (Note 7) CONDITIONS MIN 0 1.3 0.6 1.3 0.6 0 100 0.6 20 + 0.1 x CB 20 + 0.1 x CB 0.6 400 10 300 300 0.9 TYP MAX 400 UNITS kHz s s s s s s s ns ns s pF ms pF ms
DS3902
NONVOLATILE MEMORY CHARACTERISTICS
(VCC = +2.4V to +5.5V, unless otherwise noted.)
PARAMETER EEPROM Writes SYMBOL CONDITIONS +70C (Note 6) MIN 50,000 TYP MAX UNITS
Note 1: All voltages referenced to ground. Note 2: ISTBY specified for the inactive state measured with SDA = SCL = VCC, ADD_SEL = GND, and with H0 and H1 floating. Note 3: Absolute linearity is the difference of measured value from expected value at resistor position. Expected value is from the measured minimum position to measured maximum position. Note 4: Relative linearity is the deviation of an LSB resistor setting change vs. the expected LSB change. Expected LSB slope of the straight line is the typical operating curves from the measured minimum position to measured maximum position. Note 5: See the Typical Operating Characteristics section. Note 6: Guaranteed by design. Note 7: Timing shown is for fast-mode (400kHz) operation. This device is also backward-compatible with I2C standard mode. Note 8: CB--total capacitance of one bus line in picofarads. Note 9: EEPROM write begins after a STOP condition occurs.
_____________________________________________________________________
3
Dual, NV, Variable Resistors with User EEPROM DS3902
Typical Operating Characteristics
(VCC = +3.3V, TA = +25C, unless otherwise noted.)
STANDBY SUPPLY CURRENT vs. TEMPERATURE
DS3902 toc01
SUPPLY CURRENT vs. SCL FREQUENCY
DS3902 toc02
RESISTANCE vs. RESISTOR SETTING
45 40 RESISTANCE () 35 30 25 20 15 10 5 0 H0 (-530 VERSION) H1
DS3902 toc03
180 STANDBY SUPPLY CURRENT (A) 160 140 120 100 80 60 40 20 0 -40 -20 0 20 40 60 80 TEMPERATURE (C) ASEL = GND H0, H1, OPEN SDA = SCL = VCC VCC = +3V VCC = +5V
200 180 160 SUPPLY CURRENT (A) 140 120 100 80 60 40 20 0 0
VCC = SDA = +5V
50
50
100 150 200 250 300 350 400 SCL FREQUENCY (kHz)
0
25 50 75 100 125 150 175 200 225 250 RESISTOR SETTING (DEC)
TEMPERATURE COEFFICIENT vs. POSITION
DS3902 toc04
POSITION FFh RESISTANCE PERCENT CHANGE FROM +25C vs. TEMPERATURE
DS3902 toc05
POSITION 00h RESISTANCE PERCENT CHANGE FROM +25C vs. TEMPERATURE
RESISTANCE % CHANGE (FROM +25C) 10 8 6 4 2 0 -2 -4 -6 -8 -10 -40 -20 0 20 40 60 80
DS3902 toc06
1600 TEMPERATURE COEFFICIENT (ppm/C) 1400 1200 1000 TC OF +25C TO +85C 800 600 TC OF +25C TO -40C 400 200 0 -200 0 50 100 150 200 250 POSITION (DEC)
0.8 RESISTANCE % CHANGE (FROM +25C)
12
0.6
0.4
0.2
0
-0.2 -40 -20 0 20 40 60 80 TEMPERATURE (C)
TEMPERATURE (C)
H0, H1 RESISTANCE vs. POWER-UP VOLTAGE
DS3902 toc07
H0, H1 RESISTANCE vs. POWER-DOWN VOLTAGE
90 80 RESISTANCE () 70 60 50 40 30 PROGRAMMED RESISTANCE (FFh) H0 (-530 VERSION) H1 >100k
DS3902 toc08
POSITION 7Fh RESISTANCE vs. SUPPLY VOLTAGE
28 POSITION 7Fh RESISTANCE () 26 24 22 20 18 16 14 12 10 H0 (-530 VERSION)
DS3902 toc09
100 90 80 RESISTANCE () 70 60 50 40 30 20 10 0 0 1 2 3 4 5 POWER-UP VOLTAGE (V) H0 (-530 VERSION) PROGRAMMED RESISTANCE (FFh) H1 >100k EEPROM RECALL
100
30 H1
20 10 0 0 1 2
3
4
5
2.4
2.9
3.4
3.9
4.4
4.9
5.4
POWER-DOWN VOLTAGE (V)
SUPPLY VOLTAGE (V)
4
_____________________________________________________________________
Dual, NV, Variable Resistors with User EEPROM DS3902
Typical Operating Characteristics (continued)
(VCC = +3.3V, TA = +25C, unless otherwise noted.)
H0 ABSOLUTE LINEARITY vs. POSITION
DS3902 toc10
H0 RELATIVE LINEARITY vs. POSITION
DS3902 toc11
0.1 0.09 H0 ABSOLUTE LINEARITY (LSB) 0.08 0.07 0.06 0.05 0.04 0.03 0.02 0.01 0 0 50 100 150 200
0.1
H0 RELATIVE LINEARITY (LSB)
0.08
0.06
0.04
0.02
0 250 0 50 100 150 200 250 POSITION (DEC) POSITION (DEC)
H1 ABSOLUTE LINEARITY vs. POSITION
DS3902 toc12
H1 RELATIVE LINEARITY vs. POSITION
DS3902 toc13
0.1 H1 ABSOLUTE LINEARITY (LSB)
0.1
0.06
H1 RELATIVE LINEARITY (LSB)
0.08
0.08
0.06
0.04
0.04
0.02
0.02
0 0 50 100 150 200 250 POSITION (DEC)
0 0 50 100 150 200 250 POSITION (DEC)
_____________________________________________________________________
5
Dual, NV, Variable Resistors with User EEPROM DS3902
Pin Description
PIN 1 2 3 4 5 6 7 8 NAME H0 SDA SCL GND H1 N.C. VCC FUNCTION Resistor 0 High Terminal I2C Serial-Data Open-Drain Input/Output I2C Serial-Clock Input Ground Resistor 1 High Terminal No Connection Power-Supply Voltage
Detailed Description
The block diagram of the DS3902 is shown in the Block Diagram section. Detailed descriptions of major components follow.
Memory Map
A memory map of the DS3902 is shown in Table 1.
Resistors
The DS3902 contains two, 256-position (plus High-Z), NV, variable digital resistors. Pins H0 and H1 are the high terminals of Resistor 0 and Resistor 1, respectively. The low terminals of both resistors are tied to ground internally. The resistors are programmed using the I2C serial interface (see the Resistor 0 and Resistor 1 regis-
ADD_SEL Address Select
Block Diagram
DS3902
DEVICE MEMORY (EEPROM) SDA SCL ADD_SEL 01h X 8 02h 03h VCC VCC 04-05h PASSWORD ENTRY (RAM) 06-07h PASSWORD SETTING MSBYTE LSBYTE RESISTOR 1 256 POSITION 50k XX XX HI-Z X R1 R0 8 8 HI-Z H1 I2C INTERFACE 7 00h MSB SLAVE ADDRESS RESISTOR 0 256 POSITION 30k OR 15k LSB HIGH-Z H0
RESISTOR 0 RESISTOR 1
GND 10-1Fh USER MEMORY (16 BYTES)
6
_____________________________________________________________________
Dual, NV, Variable Resistors with User EEPROM
Table 1. Memory Map
DESCRIPTION Slave Address Configuration Resistor 0 Resistor 1 Password Entry Password Setting No Memory User Memory ADDR 00h 01h 02h 03h 04h 05h 06h 07h 08h- 0Fh 10h- 1Fh X b7 b7 X b6 b6 BINARY MSB SLAVE ADDRESS X b5 b5 X b4 b4 X b b3 X b2 b2 R1 b1 b1 LSB X R0 b0 b0 FACTORY DEFAULT A0h 00h 7Fh 7Fh FFh FFh FFh FFh -- ALL FFh ACCESS W/O PW R R R R W -- -- R W/PW R/W R/W R/W R/W W R/W -- R/W TYPE EEPROM EEPROM EEPROM EEPROM RAM EEPROM -- EEPROM
DS3902
PW MSB PW LSB PW MSB PW LSB -- 16 BYTES OF GENERAL PURPOSE EEPROM
X = Don't care.
ters in the Memory Map). The Configuration register contains a bit (R0 and R1) for each resistor to enable the High-Z state. When one of the High-Z bits is written to a `1', the corresponding resistor goes High-Z. When written back to a `0', the resistor goes back to the programmed resistance. Writing the Resistor 0 or Resistor 1 register to 00h, sets the respective resistor to its minimum position (and minimum resistance). This value can be found in the Analog Resistor Characteristics electrical table. Writing Resistor 0 or Resistor 1 to FFh, sets the resistor to its maximum resistance. The nominal resistance (in ohms) of the resistors can be found in the ordering information table at the beginning of this data sheet. When the DS3902 is powered up, the resistors are both set to High-Z instantaneously while the settings stored in EEPROM are recalled.
Software Write Protection
Software write protection is enabled by creating a two byte password and writing it to the Password Setting register (06h to 07h). When write protected, all memory locations can be read, but only the Password Entry register (04h to 05h) can be written. When the correct password is entered, then the memory can be written to. Refer to the Memory Map to see which registers can be read/written with and without the password (PW). When shipped from the factory, the password setting is FFFFh. Likewise, every time the device is powered-up the Password Entry register (which is RAM, not EEPROM) defaults to FFFFh, giving full access to the device. If write protection is not desired, then leave the Password Setting at the factory default and ignore the Password Entry register.
I2C Serial Interface Description
I2C Definitions
The following terminology is commonly used to describe I2C data transfers. Master Device: The master device controls the slave devices on the bus. The master device generates SCL clock pulses, START, and STOP conditions. Slave Devices: Slave devices send and receive data at the master's request. Bus Idle or Not Busy: Time between STOP and START conditions when both SDA and SCL are inactive and in their logic high states. When the bus is idle it often initiates a low-power mode for slave devices.
7
Slave Address & ADD_SEL Pin
The I2C slave address of the DS3902 depends on the state of the ADD_SEL pin. If this pin is low, then the slave address is A2h. If the ADD_SEL pin is high, then the slave address is determined by the value stored in EEPROM at address 00h. Refer to the Memory Map to see the factory default of the slave address. The seven most significant bits are used (the LSB is not used because it is in the bit position of the R/W bit) to allow the slave address to be programmed to one of 128 possible addresses. The I2C interface is described in detail in a later section.
_____________________________________________________________________
Dual, NV, Variable Resistors with User EEPROM DS3902
SDA tBUF tHD:STA tLOW SCL tHD:STA STOP START tHD:DAT NOTE: TIMING IS REFERENCED TO VIL(MAX) AND VIH(MIN) tHIGH tSU:DAT REPEATED START tSU:STA tSU:STO tR tF
tSP
Figure 1. I2C Timing Diagram
START Condition: A START condition is generated by the master to initiate a new data transfer with a slave. Transitioning SDA from high to low while SCL remains high generates a START condition. See the timing diagram for applicable timing. STOP Condition: A STOP condition is generated by the master to end a data transfer with a slave. Transitioning SDA from low to high while SCL remains high generates a STOP condition. See the timing diagram for applicable timing. Repeated START Condition: The master can use a repeated START condition at the end of one data transfer to indicate that it immediately initiates a new data transfer following the current one. Repeated STARTS are commonly used during read operations to identify a specific memory address to begin a data transfer. A repeated START condition is issued identically to a normal START condition. See the timing diagram for applicable timing. Bit Write: Transitions of SDA must occur during the low state of SCL. The data on SDA must remain valid and unchanged during the entire high pulse of SCL plus the setup and hold time requirements (see Figure 1). Data is shifted into the device during the rising edge of the SCL. Bit Read: At the end a write operation, the master must release the SDA bus line for the proper amount of setup time (see Figure 1) before the next rising edge of SCL during a bit read. The device shifts out each bit of data on SDA at the falling edge of the previous SCL pulse and the data bit is valid at the rising edge of the current
SCL pulse. Remember that the master generates all SCL clock pulses including when it is reading bits from the slave. Acknowledgement (ACK and NACK): An Acknowledgement (ACK) or Not Acknowledge (NACK) is always the 9th bit transmitted during a byte transfer. The device receiving data (the master during a read or the slave during a write operation) performs an ACK by transmitting a zero during the 9th bit. A device performs a NACK by transmitting a one during the 9th bit. Timing (Figure 1) for the ACK and NACK is identical to all other bit writes. An ACK is the acknowledgment that the device is properly receiving data. A NACK is used to terminate a read sequence or as an indication that the device is not receiving data. Byte Write: A byte write consists of 8-bits of information transferred from the master to the slave (MSB first) plus a 1-bit acknowledgement from the slave to the master. The 8-bits transmitted by the master are done according to the bit write definition and the acknowledgement is read using the bit read definition. Byte Read: A byte read is an 8-bit information transfer from the slave to the master plus a 1-bit ACK or NACK from the master to the slave. The 8 bits of information that are transferred (MSB first) from the slave to the master are read by the master using the bit read definition above, and the master transmits an ACK using the bit write definition to receive additional data bytes. The master must NACK the last byte read to terminate communication so the slave will return control of SDA to the master.
8
_____________________________________________________________________
Dual, NV, Variable Resistors with User EEPROM
Slave Address Byte: Each slave on the I 2 C bus responds to a slave addressing byte sent immediately following a START condition. The slave address byte contains the slave address in the most significant 7-bits and the R/W bit in the least significant bit. The DS3902's slave address depends on the state of the ADD_SEL pin. If ADD_SEL is low, then the slave address byte is A2h, where the LSB is the R/W bit. If the R/W bit is 0 (such as in A2h), then master indicates it will write data to the slave. If R/W = 1 (A3h in this case), the master will read data from the slave. If an incorrect slave address is written, the DS3902 will assume the master is communicating with another I2C device and ignore the communication until the next START condition is sent. On the other hand, if the ADD_SEL pin is a logic high, then the slave address byte is determined by the Slave Address register saved in EEPROM (address 00h). The LSB of the register is not used since it is in the bit location of the R/W bit. Refer to the Slave Address and ADD_SEL Pin section for more information. Memory Address: During an I2C write operation, the master must transmit a memory address to identify the memory location where the slave is to store the data. The memory address is always the second byte transmitted during a write operation following the slave address byte. To prevent address wrapping from occurring, the master must send a STOP condition at the end of the page, and then wait for the bus free or EEPROM write time to elapse. Then the master may generate a new START condition, write the slave address byte (R/W = 0), and the first memory address of the next memory row before continuing to write data. Acknowledge Polling: Any time an EEPROM page is written, the DS3902 requires the EEPROM write time (tW) after the STOP condition to write the contents of the page to EEPROM. During the EEPROM write time, the device will not acknowledge its slave address because it is busy. It is possible to take advantage of that phenomenon by repeated addressing the DS3902, which allows the next page to be written as soon as the DS3902 is ready to receive the data. The alternative to acknowledge polling is to wait for maximum period of tW to elapse before attempting to write again to the device. EEPROM Write Cycles: When EEPROM writes occur, the DS3902 will write the whole EEPROM memory page even if only a single byte on the page was modified. Writes that do not modify all 2-bytes on the page are allowed and do not corrupt the remaining bytes of memory on the same page. Because the whole page is written, bytes on the page that were not modified during the transaction are still subject to a write cycle. This can result in a whole page being worn out over time by writing a single byte repeatedly. Writing a page one byte at a time will wear the EEPROM out two times faster than writing the entire page at once. The DS3902's EEPROM write cycles are specified in the Nonvolatile Memory Characteristics table. The specification shown is at the worst case temperature. It is capable of handling approximately 10x that many writes at room temperature. Reading a Single Byte from a Slave: Unlike the write operation that uses the memory address byte to define where the data is to be written, the read operation occurs at the present value of the memory address counter. To read a single byte from the slave the master generates a START condition, writes the slave address byte with R/W = 1, reads the data byte with a NACK to indicate the end of the transfer, and generates a STOP condition. Manipulating the Address Counter for Reads: A dummy write cycle can be used to force the address counter to a particular value. To do this the master generates a START condition, writes the slave address byte (R/W = 0), writes the memory address where it desires to read, generates a repeated START condition, writes the slave address byte (R/W = 1), reads data with ACK or NACK as applicable, and generates a STOP condition.
9
DS3902
I2C Communication
Writing a Single Byte to a Slave: The master must generate a START condition, write the slave address byte (R/W = 0), write the memory address, write the byte of data and generate a STOP condition. Remember the master must read the slave's acknowledgement during all byte write operations. Writing Multiple Bytes to a Slave: To write multiple bytes to a slave the master generates a START condition, writes the slave address byte (R/W = 0), writes the memory address, writes up to 2 data bytes and generates a STOP condition. The DS3902 is capable of writing 1 or 2 bytes (1 page or row) with a single write transaction. This is internally controlled by an address counter that allows data to be written to consecutive addresses without transmitting a memory address before each data byte is sent. The address counter limits the write to one 2-byte page. Attempts to write to additional pages of memory without sending a STOP condition between pages results in the address counter wrapping around to the beginning of the present row. Each row begins on even memory addresses.
_____________________________________________________________________
Dual, NV, Variable Resistors with User EEPROM DS3902
TYPICAL 2-WIRE WRITE TRANSACTION MSB START 1 0 1 0 0 0 1 LSB R/W SLAVE ACK MSB b7 b6 b5 b4 b3 b2 b1 LSB b0 SLAVE ACK MSB b7 b6 b5 b4 b3 b2 b1 LSB b0 SLAVE ACK STOP
SLAVE ADDRESS*
READ/ WRITE
REGISTER ADDRESS
DATA
* THE ADDRESS IS DETERMINED BY THE ADD_SEL PIN. THE EXAMPLES ASSUME ADD_SEL IS TIED TO GND. IF THE ADD_SEL PIN WERE INSTEAD CONNECTED TO VCC. THEN THE ADDRESS WOULD BE DETERMINED BY THE SLAVE ADDRESS REGISTER. EXAMPLE 2-WIRE TRANSACTIONS (WHEN ADD_SEL TIED TO GND) A2h A) SINGLE BYTE WRITE -WRITE RESISTOR 0 TO MID POSITION (7FH) B) SINGLE BYTE READ -READ RESISTOR 1 02h 7Fh SLAVE 0 1 1 1 1 1 1 1 ACK SLAVE ACK A3h REPEATED START 02h SLAVE ACK 000 0 0 0 1 0 SLAVE ACK STOP 1 0 1 0 0 0 1 1 SLAVE ACK STOP
START 1 0 1 0 0 0 1 0 SLAVE 0 0 0 0 0 0 1 0 ACK A2h 03h
DATA RES VALUE MASTER NACK STOP
START 1 0 1 0 0 0 1 0 SLAVE 0 0 0 0 0 0 1 1 SLAVE ACK ACK A2h 01h SLAVE ACK 00000 001
C) SINGLE BYTE WRITE -SET RESISTOR 1 TO HI-Z
START 1 0 1 0 0 0 1 0
A2h D) TWO BYTE WRITE - ENTER THE PASSWORD.
04h PW MSB SLAVE ACK PW LSB SLAVE ACK DATA RES 0 MASTER ACK STOP
SLAVE SLAVE START 1 0 1 0 0 0 1 0 00000 100 ACK ACK A2h 02h SLAVE SLAVE 000 00010 ACK ACK
D) TWO BYTE READ - READ BOTH RESISTORS IN ONE TRANSACTION.
START 1 0 1 0 0 0 1 0
REPEATED START
A3h 1 0 1 0 0 0 1 1 SLAVE ACK
DATA RES 1 MASTER NACK STOP
Figure 2. I2C Communication Examples
See Figure 2 for a read example using the repeated START condition to specify the starting memory location. Reading Multiple Bytes from a Slave: The read operation can be used to read multiple bytes with a single transfer. When reading bytes from the slave, the master simply ACKs the data byte if it desires to read another byte before terminating the transaction. After the master reads the last byte it NACKs to indicate the end of the transfer and generates a stop condition. This can be done with or without modifying the address counter's location before the read cycle.
Application Information
Using the Resistors as a Switch
By taking advantage of the resistor's high-impedance state, the resistors can be used as a digitally controlled switch. Setting the resistor to position 0 is equivalent to a logic low level. By using an external pull-up resistor, a logic high level can be generated by setting the resistor to the High-Z state.
Power Supply Decoupling
To achieve best results, it is highly recommended that a decoupling capacitor is used on the IC power supply pins. Typical values of decoupling capacitors are 0.01F and 0.1F. Use a high-quality, ceramic, surface-mount capacitor, and mount it as close as possible to the VCC and GND pins of the IC to minimize lead inductance.
10
____________________________________________________________________
Dual, NV, Variable Resistors with User EEPROM
Pin Configuration
TOP VIEW
Chip Topology
TRANSISTOR COUNT: 11252 SUBSTRATE CONNECTED TO GROUND
DS3902
H0 SDA SCL
1 2
8 7
VCC N.C. H1 ADD_SEL
Package Information
For the latest package outline information, go to www.maxim-ic.com/DallasPackInfo.
DS3902
3 6 5 GND 4
SOP
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 ____________________ 11 (c) 2004 Maxim Integrated Products Printed USA is a registered trademark of Maxim Integrated Products.
DALLAS is a registered trademark of Dallas Semiconductor Corporation.


▲Up To Search▲   

 
Price & Availability of DS3902

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X